package com.ocm.core.dao;

import java.util.List;

import com.ocm.core.domain.UserDetail;

public interface SecurityDao extends GenericDao<UserDetail> {

   List<UserDetail> findUserAll();

   List<UserDetail> findGroupAll();

   List<UserDetail> findAll(Long[] secIds);

   List<UserDetail> findListByGroupNames(String[] names);

   List<UserDetail> findListByGroupName(String name);

   List<UserDetail> findListByUsername(String name);

   List<UserDetail> findListByName(String name);

   UserDetail findByGroupName(String name);

   UserDetail findByUsername(String userName);

   List<UserDetail> findAll(Long[] secIds, Long userId);
}
